<?php

namespace app\admin\controller;

use app\common\controller\Backend;

use think\Controller;
use think\Request;
use think\Db;

/**
 * 
 *
 * @icon fa fa-circle-o
 */
class Activity extends Backend
{
    
    /**
     * Activity模型对象
     */
    protected $model = null;

    public function _initialize()
    {
        parent::_initialize();
        $this->model = model('Activity');
        $shareList = Db::name('wechat_share')->select();
        $this->view->assign("shareList", $shareList);

        $this->view->assign("ishotList", $this->model->getIshotList());
    }


}
